﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace FwProject.PrePaymentInfo.Dto
{
    [AutoMap(typeof(PrePaymentInfoModel))]
    public class PrePaymentPrintDto:Entity<Guid>, ICreationAudited
    {
        /// <summary>
        /// 所属工厂
        /// </summary>
        public Guid FactoryinfoId { get; set; }
        public string PrePaymentInfoNumber { get; set; }
        /// <summary>
        /// 账户编号
        /// </summary>
        public Guid CapitalAccountId { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountNo { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 经办人ID
        /// </summary>
        public long AgentPeoperUserId { get; set; }
        /// <summary>
        /// 经办人姓名
        /// </summary>
        public string AgentPeoper { get; set; }
        /// <summary>
        /// 餐厅名称
        /// </summary>
        public string RestaurantInfoName { get; set; }
        /// <summary>
        /// 餐厅编号
        /// </summary>
        public Guid RestaurantInfoId { get; set; }
        /// <summary>
        /// 收退金额
        /// </summary>
        public decimal PrePaymentPrice { get; set; } = 0.0m;

        /// <summary>
        /// 退还前的余额
        /// </summary>
        public decimal PreviousPrice { get; set; } = 0m;
        /// <summary>
        /// 备注
        /// </summary>
        public string RemarkContent { get; set; }
        /// <summary>
        /// 收退类型
        /// </summary>
        public PrePaymentInfoType PrePaymentInfoType { get; set; }

        public PrePaymentInfoStatus PrePaymentInfoStatus { get; set; }
        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
    }
}
